from rest_framework import serializers
from .models import *


class UserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"


class ShowUserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        field = ("id","username","phone")